package zzf.service;

import org.springframework.beans.factory.annotation.Autowired;
import zzf.dao.BaseDao;

public class BaseService<T>{

    @Autowired
    BaseDao<T> baseDao;

    public void save(){
        System.out.println("自动注入的dao" + baseDao);
        baseDao.save();
    }
}
